package com.zhentao.model.common.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName business_good_type
 */
@TableName(value ="business_good_type")
@Data
public class BusinessGoodType implements Serializable {
    /**
     * 商品类型ID
     */
    @TableId(value = "gt_id", type = IdType.AUTO)
    private Integer gtId;

    /**
     * 商品类型名称
     */
    @TableField(value = "gt_name")
    private String gtName;

    /**
     * 状态 （启用1 禁用2）
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}